package com.example.wsm.service.impl;

import com.example.wsm.entity.Record;
import com.example.wsm.mapper.RecordMapper;
import com.example.wsm.service.IRecordService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author wms
 * @since 2024-06-21
 */
@Service
public class RecordService extends ServiceImpl<RecordMapper, Record> implements IRecordService {

    @Resource
    private RecordMapper recordMapper;

    @Override
    @Transactional
    public IPage<Record> pageC(IPage<Record> record, Wrapper<Record> lambdaQueryWrapper) {
        return recordMapper.pageC(record, lambdaQueryWrapper);
    }

}
